//
//  LHCarouselView.h
//  轮播图
//
//  Created by zhouLiHuan on 2017/2/13.
//  Copyright © 2017年 zhouLiHuan. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface LHCarouselView : UIView <UIScrollViewDelegate>

@property (nonatomic,strong)UIScrollView *carouselScroll; //滚动视图
@property (nonatomic,strong)UIPageControl *carouselPageControl; //分页指示控件
@property (nonatomic,strong)NSArray <NSString *>*carouselArray; //轮播图名字数组
@property (nonatomic,strong)NSTimer *carouselTime; //轮播定时器
@property (nonatomic,assign)NSUInteger pageCount; //记录总页面数
@property (nonatomic,assign)NSUInteger currentPageCount; //当前页面数
@property (nonatomic,assign)CGFloat oldScrollOffset; //之前scroll偏移量
@property (nonatomic,assign)CGFloat timerInterval; //设置定时器时间间隔

- (instancetype)initWithFrame:(CGRect)frame andImageNameArray:(NSArray *)ImgNameArray;

@end


